import Layout from "@/views/Layout"

export const asyncRoutes = [{
  path: '/user',
  name: 'index',
  component: Layout,
  meta:{
    title:"所有用户管理"
  },
  children:[{
    path: '/user/index',
    name: 'user',
    component:()=> import('@/views/user/user'),
    meta:{
      title:"用户管理",
      icon:"user"
    }
  },{
    path: '/vip/index',
    name: 'vip',
    component:()=> import('@/views/vip/vip'),
    meta:{
      title:"VIP管理",
      icon:"video-camera-solid"
    }
  }]
},
  {
    path: '/test',
    name: 'test',
    component: Layout,
    children:[{
      path: '/test/index',
      name: 'test',
      component:()=> import('@/views/test'),
      meta:{
        title:"测试页面",
        icon:"video-camera-solid"
      }
    }]
  }]
